home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19950528-19950726
/
000196_news@columbia.edu_Sun Jun 25 19:34:20 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1995-07-31
|
1KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA24272
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Sun, 25 Jun 1995 15:50:39 -0400
Received: by apakabar.cc.columbia.edu id AA00739
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Sun, 25 Jun 1995 15:50:37 -0400
Newsgroups: comp.protocols.kermit.misc
Path: news.columbia.edu!sol.ctr.columbia.edu!howland.reston.ans.net!agate!news.ucdavis.edu!csus.edu!netcom.com!jhurwit
From: jhurwit@netcom.com (Jeffrey Hurwit)
Subject: Testing external errorlevel in MSK 3.14 scripts?
Message-Id: <jhurwitDAquD8.1Mo@netcom.com>
Organization: Organization? What organization?
X-Newsreader: TIN [UNIX 1.3 950520BETA PL0]
Date: Sun, 25 Jun 1995 19:34:20 GMT
Lines: 11
Sender: jhurwit@netcom23.netcom.com
Apparently-To: kermit.misc@watsun.cc.columbia.edu
Is it possible to test the errorlevel of a program launched from a MSK
3.14 script with the "run" command, so that the script can respond to
the outcome? I want to have a script run PKUNZIP -t to check the
integrity of a downloaded archive, and signal the sending kermit to
resend if it fails. I saw some mention of a \v(errorlevel) variable
and a few IF ERRORLEVEL commands in the help file, but it was not clear
if these refer to the exit status of externally run programs.
Thanks in advance for any help,
Jeff